{* category navigation tree *}

{section name=i loop=$categories_tree}
        <a  style="cursor: pointer;" 
            class="sub{$categories_tree[i].level}{if $categoryID == $categories_tree[i].categoryID} selected{/if}{if $categories_tree[i].parent > 1} sup{$categories_tree[i].parent} sup{/if}"
            id="sup{$categories_tree[i].categoryID}"
            href="{$categories_tree[i].lnk}"
        >{if $categories_tree[i].level==1}*  {elseif $categories_tree[i].level==2}-  {/if}{$categories_tree[i].name}</a>
{/section}